package com.run.solr4.test;

public class testUnicode {
public static void main(String[] argv){
	String src = "中国陳azAZ019,，０";
	char[] srcChar;
	srcChar = src.toCharArray();
	for (int i = 0; i < srcChar.length; i++) {
		char c = srcChar[i];
		System.out.print(c);
//		if (String.valueOf(c).matches("[\\u4E00-\\u9FA5]+")) {
			if (String.valueOf(c).matches("[\\u0030-\\u0039\\u0041-\\u005A\\u0061-\\u007A\\u4E00-\\u9FA5\\uFF10-\\uFF19]+")) {
			//FF00-FFEF &#97;&#122;&#65;&#90;&#48;&#57;
			System.out.println("ok");
		}else
		{
			System.out.println();
		}
	}
	
}
}
